setProgressSegments

@NonNull
open fun setProgressSegments(@NonNull progressSegments: @NonNull List<NotificationCompat.ProgressStyle.Segment>): @NonNull NotificationCompat.ProgressStyle(source)

Sets or replaces the segments of the progress bar. Segments allow for creating progress bars with multiple colors or sections to represent different stages or categories of progress. For example, Traffic conditions along a navigation journey.

See also